package com.itheima.tanhuauser.service;

import com.itheima.dto.ThFollowDto;
import com.itheima.pojo.ThFollow;
import com.itheima.pojo.User;
import com.itheima.vo.UserVo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional(rollbackFor = Exception.class)
public interface UserService {
    boolean sendMsg(String phone);

    UserVo login(UserVo userVo);

    boolean updateMsg(UserVo userVo);

    List<User> findLike(Integer type,String id,String name,Integer page,Integer pageSize);

    boolean addLike(ThFollowDto thFollowDto);

    boolean deleteLike(String followId);
}
